package com.yuxi.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Service;

import com.yuxi.Entity.UserInfo;

@Service
public interface UserSubService {	
	public boolean subToFirstCheck(int informationId,UserInfo u,String ip);
	public boolean subToReCheck(int informationId,UserInfo u,String ip,String remark,String operation);
	public boolean subToCheck(int informationId,UserInfo u,String ip);
	public boolean subToCheck(int informationId,UserInfo u,String ip,String remark);

	public boolean subToCheck(int informationId,UserInfo u,String ip,String remark,String operation);
	public boolean subToInfoResearch(int informationId,UserInfo u,String ip);
	public boolean subToInfoResearch(int informationId,UserInfo u,String ip,String remark);
	public boolean subToInfoResearch(int informationId,UserInfo u,String ip,String remark,String operation);

	public boolean subToTaskDispatch(int informationId,UserInfo u,String ip);
	public boolean subToCurTaskDispatch(int informationId,UserInfo u,String ip,String remark);
	public boolean subToTaskFinsh(int informationId,UserInfo u,String ip,int taskType);
	
	public boolean subToInfoComment(int informationId,UserInfo u,String ip);
	
	public boolean subToInfoEvaluation(int informationId,UserInfo u,String ip);
	
	public boolean subToInfoFinish(int informationId,UserInfo u,String ip,String ramrk);	
	public boolean subToInfoFinish(int informationId,UserInfo u,String ip );	
	
	/**
	 * 初审打回到信息管理
	 * @param infoId
	 * @param session
	 * @param request
	 * @return
	 */
	public boolean ReToInfoMannger(int infoId, UserInfo curLoginUser, String ip,String remark);
	public boolean ReToInfoMannger(int infoId, UserInfo curLoginUser, String ip,String remark,String opeation);
	
	
	/**
	 * 
	 * 调配信息
	 * @param infoId
	 * @param flowId
	 * @param u
	 * @param ip
	 * @return
	 */
	public boolean dispatchInfoToAny(Integer infoId,Integer flowId,UserInfo u,String ip);
	
	/**
	 * 复核打回初审
	 * @param infoId
	 * @param user
	 * @param ip
	 * @return
	 */
	public boolean reCheckToFirstCheck(Integer infoId,String remark,UserInfo user,String ip, String operation);
	
	/**
	 * 合并操作结束流程
	 * 
	 * **/	
	public boolean firstCheckFinshInfoById(Integer infoId,UserInfo u,String remark,String ip);
}
